home *** CD-ROM | disk | FTP | other *** search
-
-
-
- BBBBaaaacccckkkkuuuupppp((((1111)))) BBBBaaaacccckkkkuuuupppp((((1111))))
-
-
-
- NNNNAAAAMMMMEEEE
- Backup - backup the specified file or directory
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- BBBBaaaacccckkkkuuuupppp [ ----hhhh _h_o_s_t_n_a_m_e ] [ ----iiii ] [ ----tttt _t_a_p_e_d_e_v_i_c_e ]
- [ _d_i_r_e_c_t_o_r_y__n_a_m_e | _f_i_l_e__n_a_m_e ]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The _B_a_c_k_u_p command archives the named file or directory (the current
- directory if none is specified) to the local or remote tape device. It
- can be used to make a full system backup by specifying the directory name
- as ////.
-
- In case of a full backup, this command makes a list of the files in the
- disk volume header and saves this information in a file which is then
- stored on tape. This file is used during crash recovery to restore a
- damaged volume header. Information about mounted filesystems and logical
- volumes is also copied to the backup. The current date is saved in the
- file /_e_t_c/_l_a_s_t_b_a_c_k_u_p.
-
- Full system backups can be used with the system recovery mechanism from
- the PROM maintenance mode (the miniroot is booted with mode 3 in the
- normal way, but recovery is started, instead of installation). See your
- OOOOwwwwnnnneeeerrrr''''ssss MMMMaaaannnnuuuuaaaallll for more information on this procedure.
-
- The options and arguments to _B_a_c_k_u_p are:
-
- ----hhhh _h_o_s_t_n_a_m_e If a tape drive attached to a remote host is used for
- backup, specify the name of the remote host with the ----hhhh
- _h_o_s_t_n_a_m_e option. For remote backup to successfully work,
- you should have a TCP/IP network connection to the remote
- host and gggguuuueeeesssstttt login privileges on that host.
-
- ----iiii If a backup of all files modified since the date
- specified in the /_e_t_c/_l_a_s_t_b_a_c_k_u_p file is desired, specify
- the ----iiii option. This option is valid only when doing a
- complete backup.
-
- ----tttt _t_a_p_e_d_e_v_i_c_e If the local or remote tape device is pointed to by a
- device file other than /_d_e_v/_t_a_p_e, specify the device with
- the ----tttt _t_a_p_e_d_e_v_i_c_e option.
-
- _d_i_r_e_c_t_o_r_y__n_a_m_e Create a backup of the directory _d_i_r_e_c_t_o_r_y__n_a_m_e. For
- this case, when files are restored, they will be restored
- in the root directory, with the leading _d_i_r_e_c_t_o_r_y__n_a_m_e
- stripped off.
-
- _f_i_l_e__n_a_m_e Create a backup of the file _f_i_l_e__n_a_m_e.
-
- The _B_a_c_k_u_p command uses _c_p_i_o(1) to perform the backup function. Older
- versions used _b_r_u(1), or _t_a_r(1). The _R_e_s_t_o_r_e(1) command will handle any
- of the 3 types of backups.
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- BBBBaaaacccckkkkuuuupppp((((1111)))) BBBBaaaacccckkkkuuuupppp((((1111))))
-
-
-
- FFFFIIIILLLLEEEESSSS
- /tmp/volhdrlist contains the list of the root volume header files
- /etc/lastbackup contains the date of last full backup for incremental
- backups; the modification time of this file is used
-
- NNNNOOOOTTTTEEEE
- _B_a_c_k_u_p constructs a list of file names with ffffiiiinnnndddd to pipe to cpio.
- Filenames with embedded white space will work this way, with the
- exception of filenames with embedded newlines, since each filename in the
- list is terminated by a newline. This may sometimes produce confusing
- error messages.
-
- The exit status is 0 on success (including the case where no files are
- backed up, but no errors with the tape drive or command occur).
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- List_tape(1), Restore(1), cpio(1).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-